#! /usr/bin/perl
use strict;
use warnings FATAL => 'all';

my @strs = <STDIN>;
print sort @strs;

